package com.ejbs;

import java.rmi.RemoteException;
import java.util.HashMap;
import java.util.List;

import com.bean.BGenerico;


public interface ESGenerico extends javax.ejb.EJBObject{


	public List listar() throws RemoteException;

	public List listar(BGenerico obj)	throws RemoteException;
	
	public List listar(HashMap map)	throws RemoteException;

	public Long contarFilas() throws RemoteException;

	public BGenerico registrar( BGenerico obj ) throws RemoteException;

	public BGenerico actualizar( BGenerico obj ) throws RemoteException;
	
	public void eliminar( BGenerico obj ) throws RemoteException;
	
	BGenerico buscar(BGenerico cliente) throws RemoteException;


}
